package com.hoshiibuy.sku.entity.vo;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.apache.commons.lang3.StringUtils;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
* <p>
* SKU分配
* </p>
*
* @author zhangshuhu
* @since 2019-05-05
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("allocation_sku")
@ApiModel(value="AllocationSkuVO对象", description="SKU分配")
public class AllocationSkuVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "平台ID")
    @TableField("platformid")
    private Long platformid;

    @ApiModelProperty(value = "门店ID")
    @TableField("storeid")
    private Long storeid;

    @ApiModelProperty(value = "供应商ID")
    @TableField("vendorid")
    private Long vendorid;

    @ApiModelProperty(value = "spuid")
    @TableField("spuid")
    private Long spuid;

    @ApiModelProperty(value = "skuid")
    @TableField("skuid")
    private Long skuid;

    @ApiModelProperty(value = "分配数量")
    @TableField("quantity")
    private Long quantity;

    @ApiModelProperty(value = "创建时间")
    @TableField("createdtime")
    private LocalDateTime createdtime;

    @ApiModelProperty(value = "修改时间")
    @TableField("updatedtime")
    private LocalDateTime updatedtime;

    @ApiModelProperty(value = "建立人")
    @TableField("createdby")
    private String createdby;

    @ApiModelProperty(value = "修改人")
    @TableField("updatedby")
    private String updatedby;

    @ApiModelProperty(value = "是否删除")
    @TableField("deleted")
    private Integer deleted;
}
